<?php

class ModelCatalogGoodsType extends Model
{
    public function getGoodsTypes($data = array()) {
        $sql = "SELECT * FROM " . DB_PREFIX . "goods_type  WHERE language_id = '" . (int)$this->config->get('config_language_id') . "' ORDER BY sort_order ASC";

        $query = $this->db->query($sql);

        return $query->rows;
    }

}